var argvArr=process.argv;
var username=argvArr[2];
var password=argvArr[3];
console.log("用户名:",username);
console.log("密码：",password);
var buffer1=Buffer.from(username,'utf-8');
var buffer2=Buffer.from(password,'utf-8');
var base64Str1=buffer1.toString('base64');
var base64Str2=buffer2.toString('base64');
console.log('加密后用户名：'+base64Str1);
console.log('加密后密码：'+base64Str2);